//维修apis
const repairApi=(vm)=>{
	return{
		get:(data)=>{
			return vm.$u.get('/park/wyRepairManagement/list',data)
		},
		getById:(id)=>{
			return vm.$u.get('/park/wyRepairManagement/list?id='+id)
		},
		add:(data)=>{
			return vm.$u.post('/park/wyRepairManagement',data)
		},
		edit:(data)=>{
			return vm.$u.put('/park/wyRepairManagement',data)
		}
	}
}


export default repairApi